package com.zmsoft.persistent.sfg.Sfg661050PlayerFriend;

import org.cnsoft.framework.db.support.ext.MyDataBaseObjectSupport2;

/**
 * 玩家农场信息持久层对象
 */
public class Sfg661050PlayerFriendDBO extends MyDataBaseObjectSupport2 {
	/**
	 * 用户ID1
	 */
	private String playerId1 = null;

	/**
	 * 用户昵称1
	 */
	private String playerName1 = null;

	/**
	 * 用户ID2
	 */
	private String playerId2 = null;

	/**
	 * 用户昵称2
	 */
	private String playerName2 = null;

	/**
	 * 好感度经验值
	 */
	private Long currentExp = null;

	/**
	 * 好感等级
	 */
	private Long friendLevel = null;

	/**
	 * 数值型变量初始化<br>
	 * 仅在插入场合默认调用
	 * 
	 * @see #loadDefauft()
	 */
	public void prepareNumeric() {
		// 初始化好感度经验值
		if (this.currentExp == null)
			this.currentExp = 0L;
		// 初始化好感等级
		if (this.friendLevel == null)
			this.friendLevel = 0L;
	}

	/**
	 * 获取用户ID1
	 *
	 * @return Player_id1 用户ID1
	 */
	public String getPlayerId1() {
		return this.playerId1;
	}

	/**
	 * 获取用户昵称1
	 *
	 * @return Player_name1 用户昵称1
	 */
	public String getPlayerName1() {
		return this.playerName1;
	}

	/**
	 * 获取用户ID2
	 *
	 * @return Player_id2 用户ID2
	 */
	public String getPlayerId2() {
		return this.playerId2;
	}

	/**
	 * 获取用户昵称2
	 *
	 * @return Player_name2 用户昵称2
	 */
	public String getPlayerName2() {
		return this.playerName2;
	}

	/**
	 * 获取好感度经验值
	 *
	 * @return Current_exp 好感度经验值
	 */
	public Long getCurrentExp() {
		return this.currentExp;
	}

	/**
	 * 获取好感等级
	 *
	 * @return Friend_level 好感等级
	 */
	public Long getFriendLevel() {
		return this.friendLevel;
	}

	/**
	 * 设置用户ID1
	 *
	 * @param Player_id1 用户ID1
	 */
	public void setPlayerId1(String playerid1) {
		this.playerId1 = playerid1;
	}

	/**
	 * 设置用户昵称1
	 *
	 * @param Player_name1 用户昵称1
	 */
	public void setPlayerName1(String playername1) {
		this.playerName1 = playername1;
	}

	/**
	 * 设置用户ID2
	 *
	 * @param Player_id2 用户ID2
	 */
	public void setPlayerId2(String playerid2) {
		this.playerId2 = playerid2;
	}

	/**
	 * 设置用户昵称2
	 *
	 * @param Player_name2 用户昵称2
	 */
	public void setPlayerName2(String playername2) {
		this.playerName2 = playername2;
	}

	/**
	 * 设置好感度经验值
	 *
	 * @param Current_exp 好感度经验值
	 */
	public void setCurrentExp(Long currentexp) {
		this.currentExp = currentexp;
	}

	/**
	 * 设置好感等级
	 *
	 * @param Friend_level 好感等级
	 */
	public void setFriendLevel(Long friendlevel) {
		this.friendLevel = friendlevel;
	}

}
